const { read_plain } = require("../utils/file_tool");
const { BaseCommand } = require("./base");

class ReadPlainCommand extends BaseCommand {
    async execute() {
        const data = this.selfData;
        const content = read_plain(data.src, data.options);
        return content;
    }
}

module.exports = {
    ReadPlainCommand,
};
